package com.meteor.service;

import com.meteor.entity.Building;
import com.meteor.entity.OwnerRoom;
import com.meteor.framework.common.utils.PageResult;
import com.meteor.framework.mybatis.service.BaseService;
import com.meteor.query.BuildingQuery;
import com.meteor.query.OwnerRoomQuery;
import com.meteor.vo.BuildingVO;
import com.meteor.vo.OwnerRoomListVO;
import com.meteor.vo.OwnerRoomVO;

import java.util.List;

/**
 * @author lynn
 * @date 2024/1/22
 */

public interface OwnerRoomService extends BaseService<OwnerRoom> {


    void save(OwnerRoomVO vo);

    void update(OwnerRoomVO vo);

    OwnerRoomVO get(String id);

    List<OwnerRoomVO> getList(OwnerRoomQuery query);

    PageResult<OwnerRoomVO> page(OwnerRoomQuery query);

    void delete(String id);

    List<OwnerRoomVO> getUserId(String userId);

    OwnerRoomListVO getBindUserId(String userId);

    List<OwnerRoomVO> getAwaitUserId(String userId);

    void audit(OwnerRoomVO vo);

    Integer getAwaitCountUserId(String userId);

    void relieve(String id);

}
